//    Copyright (C) Kherty.  All rights reserved.
using System;

namespace OpenLS.Chart.UI
{
    internal class BarStackItem
    {
        internal Bounds bounds;
        internal NumericValue Value;
        internal double actualValue;

        public BarStackItem(double previousValue, NumericValue value)
        {
            actualValue = previousValue + value.Value;
            bounds = Bounds.Create(previousValue, actualValue);
            Value = value;
        }
    }
}
